import java.awt.Color;
import java.awt.DisplayMode;
import java.awt.Font;
import java.awt.Graphics;

import javax.swing.JFrame;


public class Framie extends JFrame {
	
	
	
	public static void main(String[] args) {
		
		DisplayMode dm = new DisplayMode(1024, 768, DisplayMode.BIT_DEPTH_MULTI, DisplayMode.REFRESH_RATE_UNKNOWN);
		Framie f = new Framie();
		f.run(dm);
	}

	private void run(DisplayMode dm) {
		setBackground(Color.white);
		setForeground(Color.red);
		setFont(new Font("Arial",Font.PLAIN,30));
		
		Screen s = new Screen();
		s.setFullScreen(dm, this);
	}
	
	@Override
	public void paint(Graphics g) {
		g.drawString("hahahahahahahahh", 100, 300);
	}
}
